package com.lvmama.pangolin.enums;

public enum BusinessCode {

    TICKET("TICKET", "门票"),
    HOTEL("HOTEL", "酒店");

    private String value;
    private String desc;

    private BusinessCode(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public String getValue() {
        return value;
    }

    public static BusinessCode[] getBusinessCode() {
        BusinessCode[] businessCode = new BusinessCode[2];
        businessCode[0] = BusinessCode.TICKET;
        businessCode[1] = BusinessCode.HOTEL;
        return businessCode;
    }
}
